package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.dto.ByDayDto;
import com.zzyl.nursing.dto.DevicePropertyDto;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 23039
 */
public interface IFamilyMemberElderService extends IService<FamilyMemberElder> {

    /**
     * 查询健康数据
     *
     * @param request
     * @return
     */
    AjaxResult queryDevicePropertyStatus(DevicePropertyDto dto, HttpServletRequest request);

    /**
     * 按天统计查询指标数据
     *
     * @param dto
     * @return
     */
    AjaxResult queryDeviceDataListByDay(ByDayDto dto);

    /**
     * 按周统计查询指标数据
     *
     * @param dto
     * @return
     */
    AjaxResult queryDeviceDataListByWeek(ByDayDto dto);
}

